<?php exit("breakcms"); ?>
{include file="tpl/head.php"}
<div class="guangao">
    <h1><img src="{SiteLink}/theme/default/images/{$BRK_SET['bannera']}" /></h1>
    <h2><img src="{SiteLink}/theme/default/images/{$BRK_SET['bannerb']}" /></h2>
</div>

<div id="webbody">
    <div class="bao">
        <div class="guan"></div>
        <div class="guanyou"><a href="/index.php/Index/index">撒旦</a></div>
    </div>
    <div class="ye">
        <div class="left">
            <div class="zuodao">
                ($data|COLL_c_list:{'partid'=>99,'cid'=>48,'channel'=>'case'})
                {foreach item="list" from="$data"}
                <img src="{SiteLink}/theme/default/images/qing_02.gif"/>&nbsp;<a href="{$list['url']}">{$list['cname']}</a><br />
                ($data1|COLL_c_list:{'partid'=>99,'cid'=>$list['cid'],'channel'=>'case'})
                {foreach item="list1" from="$data1"}
                &nbsp;&nbsp;<img src="{SiteLink}/theme/default/images/qing_02.gif"/>&nbsp;<a href="{$list1['url']}">{$list1['cname']}</a><br />
                {/foreach}
                {/foreach}
            </div>
            {include file="tpl/leftfoot.html"}
        </div>

        <div class="right">
            <div style=" margin:10px 15px 15px 10px">
                ($data|COLL_list:{ 'partid'=>99, 'fields'=>'id,title', 'num'=>4 ,'cid'=>$_GET['category'],'sub'=>1,'pageid'=>'a'})
                {foreach item="list" from="$data"}
                <a href="{$list['url']}">标题:{$list['title']}&nbsp;&nbsp;所属分类:{$list['category'][0]['cname']}</a><br/><br/><br/>
                {/foreach}
            </div>
            <div class="page_div">
                ($page|COLL_PAGE:{
                'pageid'=>'a',
                'Previous'=>"<a href=\"_URL_\">上一页</a>",
                'PageNumber'=>"<a href=\"_URL_\">\{PageNumber\}</a>",
                'Next'=>"<a href=\"_URL_\">下一页</a>",
                'Start'=>"<a href=\"_URL_\">\{Start\}..</a>",
                'End'=>"<a href=\"_URL_\">..\{End\}</a>",
                'Current'=>"<a href=\"#\" class='current'>\{PageNumber\}</a>",
                'Input'=>"&nbsp;第<input type='text' class='page_div_input' id='page_input_page' value='\{page_input_page\}'/>页&nbsp;<input class='page_div_button' type='button' pageid='\{pageid\}' id=\"page_button\" value='GO'/>"
                })
                {$page}
                <script>
                    ($temp=document.getElementById('page_button')) && ($temp.onclick=function(){var pageid;
                        if(pageid=this.getAttribute('pageid')){
                            var reg=new RegExp("-page"+pageid+"-\\d*|-pagen"+pageid+"-\\d*","g");
                            var page=($temp=parseInt(document.getElementById('page_input_page').value))?$temp:1;
                            $str=document.location.toString().replace(reg,"");
                            document.location.replace($str+"-page"+pageid+"-"+page)
                        }
                    })
                </script>
            </div>
        </div>



    </div>
</div>
